package org.hcyspartnoc.luoxin.common.exception.system;

import org.hcyspartnoc.luoxin.common.exception.BaseException;

public class SysUserException extends BaseException {
    public static final String PHONE_HAS_EXISTS = "手机号已注册";
    public static final String PASSWORD_NOT_RIGHT = "密码不正确";
    public static final String USER_NOT_EXISTS = "用户不存在";
    public static final String USER_STATUS_ERROR = "用户状态异常";
    public static final String MODIFY_STATUS_ERROR = "修改失败";
    public static final String JS_CODE_NOT_RIGHT = "js_code不正确";
    public static final String SUPER_ADMIN_COULD_NOT_LOGOUT = "超级管理员不允许注销";

    public SysUserException(String msg) {
        super(msg);
    }

    public SysUserException(String msg, int code) {
        super(msg, code);
    }
}
